<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Lily后台</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="/static/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="/static/css/admin.css" media="all">
  <script type="text/javascript" src="/static/js/jquery-2.1.4.min.js"></script>
</head>
<!--头部脚部 代码新增或者修改页面 -->
<body class="layui-layout-body">
<div class="layui-fluid">
    <div class="layui-card">
    	<form class="layui-form" action="" style='padding:10px'>
		  <div class="layui-form-item">
		    <label class="layui-form-label">标题</label>
		    <div class="layui-input-block">
		      <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入标题" class="layui-input">
		    </div>
		  </div>
		  
		  <div class="layui-form-item">
		    <label class="layui-form-label">选择位置</label>
		    <div class="layui-input-block">
		      <input type="radio" name="site" value="1" title="头部" checked>
		      <input type="radio" name="site" value="2" title="脚部">
		    </div>
		  </div>
		  <div class="layui-form-item layui-form-text">
		    <label class="layui-form-label">内容</label>
		    <div class="layui-input-block">
		      <textarea placeholder="请输入内容" name='content' class="layui-textarea"></textarea>
		    </div>
		  </div>
		 
		</form>
    </div>
</div>
<script src="/static/layui/layui.js"></script>
<script>
layui.use(['form','layer'], function(){
	var layer = layui.layer;//layer弹出层
	layui.form.render();
})
</script>
</body>
</html>